﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace BCEntity.TMS.WorkingCompany
{
    /// <summary>
    /// 劳务公司
    /// </summary>
    [Table("WorkingCompany")]
    public class WorkingCompanyEntity
    {

        /// <summary>
        /// 劳务公司Id
        /// </summary>		
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public long WorkingCompanyId { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>		
        public int CompanyId { get; set; }
        /// <summary>
        /// 公司名称
        /// </summary>		
        public string CompanyName { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>		
        public int DepartmentId { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>		
        public string DepartmentName { get; set; }
        /// <summary>
        /// 劳务公司名称
        /// </summary>		
        public string WorkingCompanyName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>		
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>		
        public long CreateAdminId { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>		
        public string CreateAdminName { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>		
        public DateTime? UpdateTime { get; set; }
        /// <summary>
        /// 修改人Id
        /// </summary>		
        public long? EditAdminId { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>		
        public string EditAdminName { get; set; }
        /// <summary>
        /// 启用手动指派
        /// </summary>		
        public bool EnabledManualAssign { get; set; }
        /// <summary>
        /// 手动指派等待时间(秒)
        /// </summary>		
        public int ManualAssignWaitTime { get; set; }

    }
}

